package edu.ubb.remeye.encodings.encoders;

import java.awt.Image;

import edu.ubb.remeye.exception.ImageDecodingException;

/**
 * Interface for image decoding. Should be implemented for image decoders.
 * 
 * @author Andrew Ianicicau
 *
 */
public interface ImageDecoder {

	///////////////////////////////////////////////////////////////////////////////////
	////		METHODS - ImageDecoder
	///////////////////////////////////////////////////////////////////////////////////
	
	/**
	 * Decode image byte arry into an image object.
	 * @throws ImageDecodingException 
	 */
	public Image decode(byte[] image) throws ImageDecodingException;

}
